/*
 * myArray.c
 *
 *  Created on: 2011-4-13
 *      Author: jack.x.lee
 */
#include "myArray.h"

struct MyArray{
	size_t capacity;
	size_t size;
	void**  elements;
};

struct MyArrayer{
	struct MyArray* (*ctor)(size_t len);
	void			(*dtor)(struct MyArray*);
	size_t			(*length)(struct MyArray*);
	void			(*foreach)(struct MyArray*, visitor accesor);
};
